package Template;

public abstract class JdbcExecute {
    public void loadDrive() {
        System.out.println("Load Drive");
    }

    public void createConnection() {
        System.out.println("Create Connection");
    }

    public void closeConnection() {
        System.out.println("Close Connection");
    }

    public void execute(String sql) {
        loadDrive();
        createConnection();
        excuteSql(sql);
        closeConnection();
    }

    public abstract void excuteSql(String sql);

}
